package com.weather.modules.city.service;

import com.weather.common.vo.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient("weather-getcityclient")
public interface CityClient {

    @RequestMapping(method = RequestMethod.GET, value = "/cities/listCity")
    List<City>  listCity();
}
